<?php
use herosphp\bean\Beans;
/**
 * product模块Beans装配配置
 * @author yangjian<yangjian102621@gmail.com>
 */
$beans = array(
	//GradeService configs
	'product.productType.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'product\service\ProductTypeService',
		'@params' => array('ProductType')
	),
	//GradeService configs
	'product.brand.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'product\service\BrandService',
		'@params' => array('Brand')
	),
	//GradeService configs
	'product.factory.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'product\service\FactoryService',
		'@params' => array('Factory')
	),
	//GradeService configs
	'product.grade.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'product\service\GradeService',
		'@params' => array('Grade')
	),
);
return $beans;
